.\"	$OpenBSD: octrng.4,v 1.2 2013/10/25 13:05:20 jmc Exp $
.\"
.\" Copyright (c) 2013 Paul Irofti <pirofti@openbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.\"
.Dd $Mdocdate: October 25 2013 $
.Dt OCTRNG 4 octeon
.Os
.Sh NAME
.Nm octrng
.Nd octeon random number generator
.Sh SYNOPSIS
.Cd "octrng* at iobus?"
.Sh DESCRIPTION
The
.Nm
driver supports the random number generator found on the CN50XX chip.
.Pp
After the 5 seconds it takes for the device to be initialized, the
.Nm
driver feeds the random subsystem's entropy pool 32 bits of data every
10 miliseconds through the
.Xr add_true_randomness 9
API.
.Sh SEE ALSO
.Xr intro 4 ,
.Xr arc4random 9
.Sh HISTORY
The
.Nm
driver first appeared in
.Ox 5.5 .
.Sh AUTHORS
.An -nosplit
The
.Nm
driver was written by
.An Paul Irofti Aq Mt pirofti@openbsd.org .
